﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MO.ModelingClient
{
    public partial class TextEditForm : BaseTextEditForm
    {
        public TextEditForm()
        {
            InitializeComponent();
        }
        public override void SetValue(string value)
        {
            this.richTextBox.Text = value;
        }
        private void buttonOk_Click(object sender, EventArgs e)
        {
            ReturnValue(this.richTextBox.Text);
            this.Close();
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
